from sqlalchemy import Column
from sqlalchemy.sql.sqltypes import Integer, String, Text, TIMESTAMP
from sqlalchemy.ext.declarative import declarative_base

Base = declarative_base()

class LandPublicity(Base):
    __tablename__ = "TYC_M_LAND_PUBLICITY"
    PUBLICATION_ORGANIZE = Column(String(255))
    LAND_USEFULNESS = Column(String(255))
    ADMINISTRATIVE_DISTRICT = Column(String(255))
    LAND_LOCATION = Column(String(255))
    PUBLICATION_DATE = Column(String(255))
    LAND_AREA = Column(String(255))
    ID = Column(Integer)

    ENTNAME = Column(String(100))
    PRIPID = Column(String(36))
    REGNO = Column(String(50))
    UNISCID = Column(String(18))
    CREATE_TIME = Column(TIMESTAMP)
    UPDATE_TIME = Column(TIMESTAMP)